package com.zhuss.product.db.dao.ext;

import com.zhuss.product.db.entity.Line;
import com.zhuss.bean.bo.product.line.SearchLineBo;
import com.zhuss.bean.vo.product.line.ListLineVo;
import com.zhuss.bean.vo.product.line.DetailLineVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.product.db.dao.gen.*;

/**
 * @description: 线路数据库Dao
 * @author: zhushanshuo
 * @create: Wed Dec 30 13:08:49 CST 2020
 **/

@Mapper
public interface LineDao extends LineMapper {

	void create(Line record);

	void delete(Line record);

	List<Line> listAll();

	List<Line> listByPretype(@Param("pretype") Integer pretype);
	
	List<Line> listById(@Param("lineIdList") List<Long> lineIdList);

	List<Line> listByName(@Param("name") String name, @Param("no") String no);

	List<ListLineVo> list(SearchLineBo bo);

	Integer countList(SearchLineBo bo);

	DetailLineVo detail(@Param("lineId") Long lineId);

}
